package com.example.spinning.mapper;

import com.example.spinning.bean.Log;
import com.example.spinning.bean.Organ;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 日志管理
 */
public interface LogMapper {
    List<Organ> getSpecificLogs(@Param("start") Integer start,
                                  @Param("count") Integer count,
                                  @Param("log") Log log

    );



//    int deleteLogByIds(@Param("ids") String[] ids);

//    int updateLogById(Log log);

    int addLog(Log log);

    //由名字查询表的行数
    int getLogCountByCondition(Log log);


}
